# Moodle Local CORFO Web Service

Sends validation of certification information to a CORFO web service.

## Installation

Set the following env vars on your web server:

- `CORFOWS_ENV` to `testing` or `production` sets CORFO endpoint
- `CORFOWS_CLIENT_ID` CORFO client ID
- `CORFOWS_CLIENT_SECRET` CORFO client secret
- `CORFOWS_INSTITUTION_ID` CORFO institution id
- `CORFOWS_LOG` if set, enables log to moodledata/corfows.log
- `CORFOWS_DONT_VERIFY_SSL` it set, skips SSL verification

Copy the contents of this repo to `local/corfows` on your moodle installation.
